package cn.xianshu.Properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

// 读取yml  oss的配置对象
@ConfigurationProperties(prefix = "file.alicloud") // 读取yml配置到一个对象中
@Component
@Data
public class AlicloudOSSProperties {


    private String bucketName;
    private String accessKey;
    private String secretKey;
    private String endpoint;

}
